package com.mybatis03;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan //扫描当前引导类所在包下的mapper中所有的接口 生成接口的实现类存入ioc容器
public class Mybatis03Application {

    public static void main(String[] args) {
        SpringApplication.run(Mybatis03Application.class, args);
    }

}
